package com.briup.day11;
import static com.briup.day11.LoginStatus.*;
/**
 * @author lining
 * @date 2024/1/22 12:00
 */
public class TestLoginStatus {
    public static void main(String[] args) {
        String username = "tom";
        String passwd = "12345";
        int status = 1;//表示锁定
        if(!"jack".equals(username)) {
            System.out.println(USER_NAME_NOT_FOUND.getMsg());
        }
        if(!"1111".equals(passwd)){
            System.out.println(USER_PASSWD_ERROR.getMsg());
        }
        if(status == 1){
            System.out.println(USER_STATUS_LOCKED.getMsg());
        }
    }
}
